import req from "../utils/request"

export default {
  async reqGetAllCategory() {
    return await req({
      url: '/Category/All',
      method: 'GET'
    })
  },
  async reqGetEditableArea() {
    return await req({
      url: '/Page/EditableArea',
      method: 'GET',
      params: {
        editableareaname: "热门标签"
      }
    })
  },
  async reqGetAdvancedBook(data) {
    return await req({
      url: '/Search/Advanced',
      method: 'POST',
      data
    })
  }
}